package com.weipai.springboot.model;


import javax.persistence.Table;
import java.io.Serializable;
import java.util.UUID;

/**
 * 管理员实体类
 */
@Table(name = "c_admin")
public class Admin implements Serializable {
    private String adminId= UUID.randomUUID().toString();//主键

    private String adminLoginName;//登录名

    private String adminPassword;//登录密码

    private String adminHeadImg;//头像

    private String adminMobile;//手机号

    private String roleId;//角色id

    private String customerId;//customer_id

    private Integer adminStatus=0;//状态码，默认为0，-1表示冻结

    private Integer adminDel=0;//逻辑删除，默认为0，-1表示删除
    
    private String adminCode;//推荐码

    private String createTime;//加入时间

    private String updateTime;//修改时间

    private String delTime;//删除时间
    
    

    public String getAdminHeadImg() {
        return adminHeadImg;
    }

    public void setAdminHeadImg(String adminHeadImg) {
        this.adminHeadImg = adminHeadImg;
    }

    public String getAdminCode() {
        return adminCode;
    }

    public void setAdminCode(String adminCode) {
        this.adminCode = adminCode;
    }

    public String getAdminId() {
        return adminId;
    }

    public void setAdminId(String adminId) {
        this.adminId = adminId == null ? null : adminId.trim();
    }

    public String getAdminLoginName() {
        return adminLoginName;
    }

    public void setAdminLoginName(String adminLoginName) {
        this.adminLoginName = adminLoginName == null ? null : adminLoginName.trim();
    }

    public String getAdminPassword() {
        return adminPassword;
    }

    public void setAdminPassword(String adminPassword) {
        this.adminPassword = adminPassword == null ? null : adminPassword.trim();
    }

    public String getAdminMobile() {
        return adminMobile;
    }

    public void setAdminMobile(String adminMobile) {
        this.adminMobile = adminMobile == null ? null : adminMobile.trim();
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId == null ? null : roleId.trim();
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public Integer getAdminStatus() {
        return adminStatus;
    }

    public void setAdminStatus(Integer adminStatus) {
        this.adminStatus = adminStatus;
    }

    public Integer getAdminDel() {
        return adminDel;
    }

    public void setAdminDel(Integer adminDel) {
        this.adminDel = adminDel;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? null : updateTime.trim();
    }

    public String getDelTime() {
        return delTime;
    }

    public void setDelTime(String delTime) {
        this.delTime = delTime == null ? null : delTime.trim();
    }
}